package com.youlin.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.lang.Nullable;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class EditDMDataReqDto {

    // 逝者ID
    @ApiModelProperty(value = "逝者ID", required = true, position = 1)
    private Integer dmId;

    // 逝者姓名
    @ApiModelProperty(value = "逝者姓名", required = true, position = 2)
    private String name;

    // 遗像url
    @ApiModelProperty(value = "遗像url", required = true, position = 3)
    private String headUrl;

    // 分享封面url
    @ApiModelProperty(value = "分享封面url", required = true, position = 4)
    private String coverUrl;

    @Nullable
    @ApiModelProperty(value = "生平标题1", position = 5)
    private String lifeTitle1;

    @Nullable
    @ApiModelProperty(value = "逝者生平1", position = 6)
    private String lifeStory1;

    @Nullable
    @ApiModelProperty(value = "生平标题2", position = 7)
    private String lifeTitle2;

    @Nullable
    @ApiModelProperty(value = "逝者生平2", position = 8)
    private String lifeStory2;

}
